SOCKETS.OPTIONS_GET Function

The SOCKETS object is deprecated and may be removed in a future release. Use INET::Socket instead.

Syntax

Status_List as C = options_get(C options)

Arguments

options

Character

Description

Get options (A-accepting L-Linger K-Keep Alive R-Reuse Address N-Don't route D-elay X-Debug - I=input buffer O=output buffer T=timeout - '' escapes characters ).

Discussion

The .OPTIONS_GET() method retrieves a list of the status of each of the options that a socket supports.

Example

x = s.options_get(<<%str%
'listening'=A
'linger'=L
'keep alive'=K
'Reuse address'=R
'Dont Route'=N
'Delay'=D
'Debug'=X
'input buffer'=I
'output buffer'=O
'timeout'=T
%str%)
? x
= listening=F
linger=F
keep alive=F
Reuse address=F
Dont Route=F
Delay=F
Debug=F
input buffer=8192
output buffer=8192
timeout=-1

See Also